<html>

<head>
    <meta charset="utf-8" />
    <title>智能导诊-症状</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="/lobsteruiframe/easyui/themes/gray/easyui.css">

    <link href="/lobsteruiframe/layuiadmin/layui/css/layui.css" rel="stylesheet" />
    <link href="/lobsteruiframe/layuiadmin/style/admin.css" rel="stylesheet" />
    <script src="/lobsteruiframe/layuiadmin/layui/layui.js"></script>
    <script src="/jslib/lobster.js"></script>
    <script src="/jslib/jquery-3.4.1.min.js"></script>

    <script src="/lobsteruiframe/easyui/jquery.easyui.min.js"></script>

    <script src="js/symptom.js"></script>
</head>
<style>
    body,
    html {
        height: 100%;
        box-sizing: border-box;
    }

    iframe {
        border: 0;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

    /* #Left {
        width: 180px;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        background: #fff;
        border-right: 1px solid #ccc;
        box-shadow: #ccc 0 2px 4px;
        overflow: hidden;
        overflow-y: auto;
    }*/
    #Middle {
        width: 580px;
        position: fixed;
        left: 0;
        top: 55px;
        bottom: 0;
        background: #fff;
        /*   border-right: 1px solid #ccc;
        box-shadow: #ccc 0 2px 4px;
        overflow: hidden;
        overflow-y: auto;*/
    }

    #MainRight {
        margin-left: 590px;
        //height: 100%;
        overflow: hidden;
        background-color: #fff;
    }


    .nodeover .layui-tree-iconClick,
    .nodeover .layui-tree-txt {
        color: #009688;
        font-weight: bold;
    }

    .layui-icon-fd {
        width: 20px;
        height: 20px;
        display: inline-block;
        vertical-align: middle;
        background: url(/images/fort.png) no-repeat;
        background-size: 100% 100%;
    }

    .layui-tree-txt {
        min-width: 100px;
    }

    .seletr {
        background-color: #009688 !important;
        color: #fff;
    }

    .seletr td:last-child::after {
        content: "";
    }

    .trnodeto {
        display: none;
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 0;
        border: 19.5px solid transparent;
        border-left-color: #009688;
    }

    .textbox {
        height: 38px;
        border-radius: unset;
    }

    .layui-form-label {
        width: 110px;
    }
</style>

<body>
    <div class="layui-fluid" style="background-color:white;padding:5px;">
        <div class="layui-card-header layui-form layuiadmin-card-header-auto" style="padding:5px 0 0 0;">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label" style="width:110px;">部位：</label>
                    <div class="layui-input-inline" style="width:160px;height:38px;">
                        <input type="text" class="layui-input" id="PosId2" name="PosId2"
                            style="width:160px;height:38px;" />
                    </div>
                </div>
            </div>
        </div>
        <div id="Middle">
            <table id="ClassList" lay-filter="ClassList"></table>
        </div>
        <div id="MainRight">
            <table id="List" lay-filter="List"></table>
        </div>
    </div>

    <div class="trnodeto"></div>
</body>

</html>

<script type="text/html" id="statusTemp">
    {{#if(d.DelFlag ==1) { }}
    <span style="color:orangered">已停用</span>
    {{# } else {}}
    <span style="color:cadetblue"> 已启用</span>
    {{# }}}
</script>
<script type="text/html" id="classTypeTemp">
    {{# if(d.ClassType ==0) { }}
    <span>继承主症状</span>
    {{# } else if(d.ClassType==7) {}}
    <span>通用</span>
    {{# } else if(d.ClassType==5) {}}
    <span>男</span>
    {{# } else if(d.ClassType==2) {}}
    <span>女</span>
    {{# }}}
</script>
<script type="text/html" id="operation">
    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
    {{# if(d.DelFlag==0){ }}
    <a class="layui-btn layui-btn-danger layui-btn-xs"
        lay-event="enstatus"><i class="layui-icon layui-extend-stop"></i>停用</a>
    {{# } else { }}
    <a class="layui-btn layui-btn-normal layui-btn-xs"
        lay-event="enstatus"><i class="layui-icon layui-icon-ok"></i>启用</a>
    {{# } }}
</script>
<script type="text/html" id="baradd">
    <!-- <div class="layui-inline"></div> -->
<div class="layui-inline">
    <a class="layui-btn layui-btn-sm" lay-event="add" id="add"><i class="layui-icon layui-icon-add-1"></i>新增症状</a>
</div>
</script>

<script type="text/html" id="classadd">
    <div class="layui-inline">
        <a class="layui-btn layui-btn-sm" lay-event="add" id="add"><i class="layui-icon layui-icon-add-1"></i>新增主症状</a>
    </div>
</script>

<script id="openPosition" type="text/html">
    <div class="layui-card-header layui-form" style="padding-top:10px;">
        <div class="layui-form-item">
            <label class="layui-form-label"><i style="color:red;">*&ensp; </i>部位</label>
            <div class="layui-input-block">
                <select id="PosId" name="PosId" lay-filter="PosId"></select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><i style="color:red;">*&ensp; </i>主症状</label>
            <div class="layui-input-block">
                <select id="ClassId" name="ClassId"></select>
            </div>

        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><i style="color:red;">*&ensp; </i>适用人群</label>
            <div class="layui-input-block">
                <select id="ClassType" name="ClassType">
                        <option value="0">继承主症状</option>
                        <option value="7">通用</option>
                        <option value="5">男</option>
                        <option value="2">女</option>
                    </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><i style="color:red;">*&ensp; </i>症状</label>
            <div class="layui-input-block">
                <textarea id="Symptom" name="Symptom" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><i style="color:red;">*&ensp; </i>挂号科室</label>
            <div class="layui-input-block">
                <select id="DeptCode" name="DeptCode"></select>
            </div>
        </div>
    </div>
</script>

<script id="openSymptomClass" type="text/html">
    <div class="layui-card-header layui-form" style="padding-top:10px;">
        <div class="layui-form-item">
            <label class="layui-form-label"><i style="color:red;">*&ensp; </i>部位</label>
            <div class="layui-input-block">
                <select id="PosId3" name="PosId"></select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><i style="color:red;">*&ensp; </i>主症状</label>
            <div class="layui-input-block">
                <input type="text" id="ClassName" name="ClassName" class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><i style="color:red;">*&ensp; </i>适用人群</label>
            <div class="layui-input-block">
                <select id="ClassType2" name="ClassType2">
                        <option value="7">通用</option>
                        <option value="5">男</option>
                        <option value="2">女</option>
                    </select>
            </div>
        </div>
    </div>
</script>